package com.ywjt.platformbusiness.store.order.model;

import java.io.Serializable;
import java.util.List;

public class StoreOrderListModel implements Serializable {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"records":[{"orderNumber":"121","payTime":"2021-06-22 20:42:32","freight":0,"discount":5,"payWay":"1","pageSize":10,"remark":"4","shopId_dictText":"这是店铺1","starTime":null,"receiveName":"张三","updateBy":"admin","pageNo":1,"id":"1","shopId":"1","receivePhone":"12345678901","receiveAddress":"150102金水区郑州东站","actuallyMoney":50,"totalMoney":45,"updateTime":"2021-06-22 10:50:42","userId":"1401006624442945537","receiveId":"1","orderDetailList":[{"commoditySpecification":"[{\"key\":\"规格名称\",\"value\":\"1\"}]","orderNumber":"121","commodityNum":1,"commodityPhoto":"temp/微信图片_20210415174441_1623912676761.png","updateTime":null,"commodityId":"1405419004613947394","commodityPrice":25,"commoditySpList":[{"values":null,"key":"规格名称"}],"createBy":null,"createTime":null,"updateBy":null,"id":"1","commodityName":"华为p30"},{"commoditySpecification":"[{\"key\":\"规格名称\",\"value\":\"1\"}]","orderNumber":"121","commodityNum":1,"commodityPhoto":"http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/temp/微信图片_20210415174441_1623913995138.png,http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/temp/微信图片_202106151520431_1623914003872.png","updateTime":null,"commodityId":"1405423763274194945","commodityPrice":25,"commoditySpList":[{"values":null,"key":"规格名称"}],"createBy":null,"createTime":null,"updateBy":null,"id":"2","commodityName":"华为p40"}],"createBy":null,"createTime":"2021-06-17 09:40:25","endTime":null,"status":0},{"orderNumber":"122","payTime":"2021-06-22 20:42:32","freight":0,"discount":0,"payWay":"1","pageSize":10,"remark":"3","shopId_dictText":"这是店铺1","starTime":null,"receiveName":"张三","updateBy":"admin","pageNo":1,"id":"2","shopId":"1","receivePhone":"12345678901","receiveAddress":"150102金水区郑州东站","actuallyMoney":20,"totalMoney":20,"updateTime":"2021-06-22 10:50:33","userId":"1401810679725580289","receiveId":"1","orderDetailList":[],"createBy":null,"createTime":"2021-06-17 09:40:30","endTime":null,"status":1},{"orderNumber":"123","payTime":"2021-06-22 20:42:32","freight":0,"discount":0,"payWay":"1","pageSize":10,"remark":"2","shopId_dictText":"这是店铺1","starTime":null,"receiveName":"张三","updateBy":"admin","pageNo":1,"id":"3","shopId":"1","receivePhone":"12345678901","receiveAddress":"150102金水区郑州东站","actuallyMoney":20,"totalMoney":20,"updateTime":"2021-06-22 10:50:24","userId":"1401813448721207297","receiveId":"1","orderDetailList":[],"createBy":null,"createTime":"2021-06-17 09:40:32","endTime":null,"status":2}],"total":3,"size":10,"current":1,"orders":[],"optimizeCountSql":true,"hitCount":false,"countId":null,"maxLimit":null,"searchCount":true,"pages":1}
     * timestamp : 1624502927686
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO implements Serializable{
        /**
         * records : [{"orderNumber":"121","payTime":"2021-06-22 20:42:32","freight":0,"discount":5,"payWay":"1","pageSize":10,"remark":"4","shopId_dictText":"这是店铺1","starTime":null,"receiveName":"张三","updateBy":"admin","pageNo":1,"id":"1","shopId":"1","receivePhone":"12345678901","receiveAddress":"150102金水区郑州东站","actuallyMoney":50,"totalMoney":45,"updateTime":"2021-06-22 10:50:42","userId":"1401006624442945537","receiveId":"1","orderDetailList":[{"commoditySpecification":"[{\"key\":\"规格名称\",\"value\":\"1\"}]","orderNumber":"121","commodityNum":1,"commodityPhoto":"temp/微信图片_20210415174441_1623912676761.png","updateTime":null,"commodityId":"1405419004613947394","commodityPrice":25,"commoditySpList":[{"values":null,"key":"规格名称"}],"createBy":null,"createTime":null,"updateBy":null,"id":"1","commodityName":"华为p30"},{"commoditySpecification":"[{\"key\":\"规格名称\",\"value\":\"1\"}]","orderNumber":"121","commodityNum":1,"commodityPhoto":"http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/temp/微信图片_20210415174441_1623913995138.png,http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/temp/微信图片_202106151520431_1623914003872.png","updateTime":null,"commodityId":"1405423763274194945","commodityPrice":25,"commoditySpList":[{"values":null,"key":"规格名称"}],"createBy":null,"createTime":null,"updateBy":null,"id":"2","commodityName":"华为p40"}],"createBy":null,"createTime":"2021-06-17 09:40:25","endTime":null,"status":0},{"orderNumber":"122","payTime":"2021-06-22 20:42:32","freight":0,"discount":0,"payWay":"1","pageSize":10,"remark":"3","shopId_dictText":"这是店铺1","starTime":null,"receiveName":"张三","updateBy":"admin","pageNo":1,"id":"2","shopId":"1","receivePhone":"12345678901","receiveAddress":"150102金水区郑州东站","actuallyMoney":20,"totalMoney":20,"updateTime":"2021-06-22 10:50:33","userId":"1401810679725580289","receiveId":"1","orderDetailList":[],"createBy":null,"createTime":"2021-06-17 09:40:30","endTime":null,"status":1},{"orderNumber":"123","payTime":"2021-06-22 20:42:32","freight":0,"discount":0,"payWay":"1","pageSize":10,"remark":"2","shopId_dictText":"这是店铺1","starTime":null,"receiveName":"张三","updateBy":"admin","pageNo":1,"id":"3","shopId":"1","receivePhone":"12345678901","receiveAddress":"150102金水区郑州东站","actuallyMoney":20,"totalMoney":20,"updateTime":"2021-06-22 10:50:24","userId":"1401813448721207297","receiveId":"1","orderDetailList":[],"createBy":null,"createTime":"2021-06-17 09:40:32","endTime":null,"status":2}]
         * total : 3
         * size : 10
         * current : 1
         * orders : []
         * optimizeCountSql : true
         * hitCount : false
         * countId : null
         * maxLimit : null
         * searchCount : true
         * pages : 1
         */

        private Integer total;
        private Integer size;
        private Integer current;
        private Boolean optimizeCountSql;
        private Boolean hitCount;
        private Object countId;
        private Object maxLimit;
        private Boolean searchCount;
        private Integer pages;
        private List<RecordsDTO> records;
        private List<?> orders;

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public Boolean isOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(Boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public Boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(Boolean hitCount) {
            this.hitCount = hitCount;
        }

        public Object getCountId() {
            return countId;
        }

        public void setCountId(Object countId) {
            this.countId = countId;
        }

        public Object getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Object maxLimit) {
            this.maxLimit = maxLimit;
        }

        public Boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(Boolean searchCount) {
            this.searchCount = searchCount;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public List<RecordsDTO> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsDTO> records) {
            this.records = records;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public static class RecordsDTO implements Serializable{
            /**
             * orderNumber : 121
             * payTime : 2021-06-22 20:42:32
             * freight : 0
             * discount : 5
             * payWay : 1
             * pageSize : 10
             * remark : 4
             * shopId_dictText : 这是店铺1
             * starTime : null
             * receiveName : 张三
             * updateBy : admin
             * pageNo : 1
             * id : 1
             * shopId : 1
             * receivePhone : 12345678901
             * receiveAddress : 150102金水区郑州东站
             * actuallyMoney : 50
             * totalMoney : 45
             * updateTime : 2021-06-22 10:50:42
             * userId : 1401006624442945537
             * receiveId : 1
             * orderDetailList : [{"commoditySpecification":"[{\"key\":\"规格名称\",\"value\":\"1\"}]","orderNumber":"121","commodityNum":1,"commodityPhoto":"temp/微信图片_20210415174441_1623912676761.png","updateTime":null,"commodityId":"1405419004613947394","commodityPrice":25,"commoditySpList":[{"values":null,"key":"规格名称"}],"createBy":null,"createTime":null,"updateBy":null,"id":"1","commodityName":"华为p30"},{"commoditySpecification":"[{\"key\":\"规格名称\",\"value\":\"1\"}]","orderNumber":"121","commodityNum":1,"commodityPhoto":"http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/temp/微信图片_20210415174441_1623913995138.png,http://zhongzhiheyi.oss-cn-zhangjiakou.aliyuncs.com/temp/微信图片_202106151520431_1623914003872.png","updateTime":null,"commodityId":"1405423763274194945","commodityPrice":25,"commoditySpList":[{"values":null,"key":"规格名称"}],"createBy":null,"createTime":null,"updateBy":null,"id":"2","commodityName":"华为p40"}]
             * createBy : null
             * createTime : 2021-06-17 09:40:25
             * endTime : null
             * status : 0
             */

            private Integer goodsNum;
            private String orderNumber;
            private String payTime;
            private Integer freight;
            private Integer discount;
            private String payWay;
            private Integer pageSize;
            private String remark;
            private String shopId_dictText;
            private Object starTime;
            private String receiveName;
            private String updateBy;
            private Integer pageNo;
            private String id;
            private String shopId;
            private String receivePhone;
            private String receiveAddress;
            private Integer actuallyMoney;
            private Integer totalMoney;
            private String updateTime;
            private String userId;
            private String receiveId;
            private Object createBy;
            private String createTime;
            private Object endTime;
            private Integer status;
            private List<OrderDetailListDTO> orderDetailList;

            public Integer getGoodsNum() {
                return goodsNum;
            }

            public void setGoodsNum(Integer goodsNum) {
                this.goodsNum = goodsNum;
            }

            public String getOrderNumber() {
                return orderNumber;
            }

            public void setOrderNumber(String orderNumber) {
                this.orderNumber = orderNumber;
            }

            public String getPayTime() {
                return payTime;
            }

            public void setPayTime(String payTime) {
                this.payTime = payTime;
            }

            public Integer getFreight() {
                return freight;
            }

            public void setFreight(Integer freight) {
                this.freight = freight;
            }

            public Integer getDiscount() {
                return discount;
            }

            public void setDiscount(Integer discount) {
                this.discount = discount;
            }

            public String getPayWay() {
                return payWay;
            }

            public void setPayWay(String payWay) {
                this.payWay = payWay;
            }

            public Integer getPageSize() {
                return pageSize;
            }

            public void setPageSize(Integer pageSize) {
                this.pageSize = pageSize;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getShopId_dictText() {
                return shopId_dictText;
            }

            public void setShopId_dictText(String shopId_dictText) {
                this.shopId_dictText = shopId_dictText;
            }

            public Object getStarTime() {
                return starTime;
            }

            public void setStarTime(Object starTime) {
                this.starTime = starTime;
            }

            public String getReceiveName() {
                return receiveName;
            }

            public void setReceiveName(String receiveName) {
                this.receiveName = receiveName;
            }

            public String getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(String updateBy) {
                this.updateBy = updateBy;
            }

            public Integer getPageNo() {
                return pageNo;
            }

            public void setPageNo(Integer pageNo) {
                this.pageNo = pageNo;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getShopId() {
                return shopId;
            }

            public void setShopId(String shopId) {
                this.shopId = shopId;
            }

            public String getReceivePhone() {
                return receivePhone;
            }

            public void setReceivePhone(String receivePhone) {
                this.receivePhone = receivePhone;
            }

            public String getReceiveAddress() {
                return receiveAddress;
            }

            public void setReceiveAddress(String receiveAddress) {
                this.receiveAddress = receiveAddress;
            }

            public Integer getActuallyMoney() {
                return actuallyMoney;
            }

            public void setActuallyMoney(Integer actuallyMoney) {
                this.actuallyMoney = actuallyMoney;
            }

            public Integer getTotalMoney() {
                return totalMoney;
            }

            public void setTotalMoney(Integer totalMoney) {
                this.totalMoney = totalMoney;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getReceiveId() {
                return receiveId;
            }

            public void setReceiveId(String receiveId) {
                this.receiveId = receiveId;
            }

            public Object getCreateBy() {
                return createBy;
            }

            public void setCreateBy(Object createBy) {
                this.createBy = createBy;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public Object getEndTime() {
                return endTime;
            }

            public void setEndTime(Object endTime) {
                this.endTime = endTime;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }

            public List<OrderDetailListDTO> getOrderDetailList() {
                return orderDetailList;
            }

            public void setOrderDetailList(List<OrderDetailListDTO> orderDetailList) {
                this.orderDetailList = orderDetailList;
            }

            public static class OrderDetailListDTO implements Serializable {
                /**
                 * commoditySpecification : [{"key":"规格名称","value":"1"}]
                 * orderNumber : 121
                 * commodityNum : 1
                 * commodityPhoto : temp/微信图片_20210415174441_1623912676761.png
                 * updateTime : null
                 * commodityId : 1405419004613947394
                 * commodityPrice : 25
                 * commoditySpList : [{"values":null,"key":"规格名称"}]
                 * createBy : null
                 * createTime : null
                 * updateBy : null
                 * id : 1
                 * commodityName : 华为p30
                 */

                private String commoditySpecification;
                private String orderNumber;
                private Integer number;
                private String commodityMainPhoto;
                private Object updateTime;
                private String commodityId;
                private Integer commodityPrice;
                private Object createBy;
                private Object createTime;
                private Object updateBy;
                private String id;
                private String commodityName;
                private String commoditySpData;

                public String getCommoditySpecification() {
                    return commoditySpecification;
                }

                public void setCommoditySpecification(String commoditySpecification) {
                    this.commoditySpecification = commoditySpecification;
                }

                public String getOrderNumber() {
                    return orderNumber;
                }

                public void setOrderNumber(String orderNumber) {
                    this.orderNumber = orderNumber;
                }

                public Integer getNumber() {
                    return number;
                }

                public void setNumber(Integer number) {
                    this.number = number;
                }

                public String getCommodityMainPhoto() {
                    return commodityMainPhoto;
                }

                public void setCommodityMainPhoto(String commodityMainPhoto) {
                    this.commodityMainPhoto = commodityMainPhoto;
                }

                public Object getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(Object updateTime) {
                    this.updateTime = updateTime;
                }

                public String getCommodityId() {
                    return commodityId;
                }

                public void setCommodityId(String commodityId) {
                    this.commodityId = commodityId;
                }

                public Integer getCommodityPrice() {
                    return commodityPrice;
                }

                public void setCommodityPrice(Integer commodityPrice) {
                    this.commodityPrice = commodityPrice;
                }

                public Object getCreateBy() {
                    return createBy;
                }

                public void setCreateBy(Object createBy) {
                    this.createBy = createBy;
                }

                public Object getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(Object createTime) {
                    this.createTime = createTime;
                }

                public Object getUpdateBy() {
                    return updateBy;
                }

                public void setUpdateBy(Object updateBy) {
                    this.updateBy = updateBy;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getCommodityName() {
                    return commodityName;
                }

                public void setCommodityName(String commodityName) {
                    this.commodityName = commodityName;
                }

                public String getCommoditySpData() {
                    return commoditySpData;
                }

                public void setCommoditySpData(String commoditySpData) {
                    this.commoditySpData = commoditySpData;
                }
            }
        }
    }
}
